package com.finalproject.entity;

import java.util.Calendar;
/**
 * Representation class of DietaryEntry
 * 
 *
 */
public class DietaryEntry{
	private Calendar date; 
	private int consumed;	//for calories only
	private int available;
	public DietaryEntry(Calendar date, int consumed, int available){
		this.setDate(date);
		this.setConsumed(consumed);
		this.setAvailable(available);
	}
	public Calendar getDate(){
		return date;
	}
	public int getConsumed(){
		return consumed;
	}
	
	public int getAvailable(){
		return available;
	}

	public void setDate(Calendar date){
		this.date=date;
	}
	public void setConsumed(int consumed){
		this.consumed=consumed;
	}
	public void setAvailable(int available){
		this.available=available;
	}
}